package com.zofer.study.factory.abstractfactory;

/**
 * 套餐A工厂 雪碧 + 小蛋糕
 */
public class PackageAFactory implements Factory{

    public Drink createDrink() {
        System.out.println("已制作好雪碧");
        return new Sprite();
    }

    public Cake createCake() {
        System.out.println("已制作好小蛋糕");
        return new SmallCake();
    }
}
